#pragma once
#include "istatu.h"
#include "ListCtrl.h"
#include "DialledNumData.h"
#include "CSlider.h"

class CDialHistoryStatue :
	public IStatu
{
public:
	CDialHistoryStatue(WCHAR * name);
	~CDialHistoryStatue(void);

	virtual bool EnterStatu();

	virtual bool ExitStatu();

	virtual bool EvaluateClickEvent(const WCHAR* elementName);

 virtual bool  EvaluateSliderMoveEvent(const WCHAR* elementName);

	bool downclick();
	bool upclick();

	void  LoadDialNumber(map<wstring,wstring>& mapItem);
	CDialledNumData *m_DialNumber;

	TCHAR m_SaveFile[256];

	CListCtrl *m_pList;
	CSlider   *m_pSlider;
	int m_nPageCount;
	int m_nPageIndex;
};
